package com.mlf.abstractFactory.spring.ui;

import com.mlf.abstractFactory.Button;
import com.mlf.abstractFactory.Checkbox;
import org.springframework.stereotype.Component;

@Component("DARK_THEME")
class DarkThemeFactory implements ThemeFactory {

    @Override
    public Button createButton() {
        return new DarkButton();
    }

    @Override
    public Checkbox createCheckbox() {
        return new DarkCheckbox();
    }
}